package initialize

import (
	"fmt"
	"github.com/spf13/viper"
	"onerk4/yk/common/global"
)

func ConfigInit() {
	viper.SetConfigFile("../common/config/dev.yaml")
	viper.ReadInConfig()
	viper.Unmarshal(&global.AppConfig)
	fmt.Printf("%v\n", global.AppConfig.NacosConfig)
}
